using System;
using System.Collections.Generic;
using System.Text;

namespace Circo.Essentials.Persistence
{
    public class DbDataParameter
    {
        #region Variables Privadas

        private string _parameterName;
        private System.Data.DbType _dbType;
        private object _parameterValue;
        private System.Data.ParameterDirection _direction;

        #endregion        

        public DbDataParameter(string parameterName, System.Data.DbType dbType, object parameterValue, System.Data.ParameterDirection direction)
        {
            this.ParameterName = parameterName;
            this.DbType = dbType;
            this.ParameterValue = parameterValue;
            this.Direction = direction;
        }

        #region Propiedades

        public string ParameterName
        {
            get { return _parameterName; }
            set { _parameterName = value; }
        }
        public System.Data.DbType DbType
        {
            get { return _dbType; }
            set { _dbType = value; }
        }

        public object ParameterValue
        {
            get { return _parameterValue; }
            set { _parameterValue = value; }
        }

        public System.Data.ParameterDirection Direction
        {
            get { return _direction; }
            set { _direction = value; }
        }
        #endregion
    }
}
